/****************************************************
          File Name:golf.h
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Sun 21 Dec 2014 02:38:15 PM CST
*****************************************************/

#ifndef GOLF_H_
#define GOLF_H 1

const int Len = 40;

struct golf{
    char fullname[Len];
    int handicap;
};

// non-interactive ver:
void setgolf(golf & g, const char *name, int hc);

// interactive ver:
void setgolf(golf & g);

void handicap(golf & g, int n);

void showgolf(const golf & g);

#endif
